package com.itheima.Service.impl;

import com.itheima.Dao.BookDao;
import com.itheima.Service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

@Service
public class BookServiceImpl implements BookService {
    @Autowired
    private BookDao bookDao;
    @Override
    public Boolean registerBook(String url, String password) {
        return bookDao.judge(url, password);
    }
}
